using Godot;
using System;

public partial class AnimatedSprite2d : AnimatedSprite2D
{
    public override void _Process(double delta)
    {
        if (Input.IsActionJustPressed("左"))
        {
            Play("Idle");
        }
        if (Input.IsActionJustPressed("右"))
        {
            Play("Attack");
        }
    }

}
